package com.axjy.his.mapper;

import com.axjy.his.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by lenovo on 2017/11/1.
 */
public interface UserMapper {

    public List<User> selectAllUser();

   /* public void add(User user);*/

    public List<User> searchUserByRole(Integer id);

    public Integer updateRoleId(@Param("userId") Integer roleId,@Param("roleId") Integer userId);

}
